﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ImageRotatorToolPartControl.ascx.cs" Inherits="RoketSolutions.SP2010.ImageRotatorWebPart.ControlTemplates.ImageRotatorToolPartControl" %>

<style type="text/css">
	.ms-TPSectionTD, .ms-TPBody .ms-propGridTable {padding:0;}
	.UserSectionTitle span {padding-left: 10px;}
	.UserControlGroup {margin-left: 4px;}
</style>

<div class=".ms-TPBody">
	<table cellspacing="0" cellpadding="0" border="0" style="width:100%;border-collapse:collapse;">
		<tr>
			<td>
				<div class="UserSectionTitle">
					<span>ImageRotator Settings</span>
				</div>
			</td>
		</tr>
	</table>
	<div class="ms-propGridTable">
		<table cellspacing="0" border="0" style="border-width:0px;width:100%;border-collapse:collapse;">
			<tr>
				<td>
					<div class="UserSectionHead">
						<label>Effect</label>
					</div>
					<div class="UserSectionBody">
						<div class="UserControlGroup">
							<asp:DropDownList runat="server" ID="DropDownEffects">
								<asp:ListItem Value="scrollLeft" Selected="true">scrollLeft</asp:ListItem>
								<asp:ListItem Value="scrollRight">scrollRight</asp:ListItem>
								<asp:ListItem Value="scrollDown">scrollDown</asp:ListItem>
								<asp:ListItem Value="scrollUp">scrollUp</asp:ListItem>
								<asp:ListItem Value="fade">fade</asp:ListItem>
								<asp:ListItem Value="shuffle">shuffle</asp:ListItem>
							</asp:DropDownList>
						</div>
					</div>
					<div class="UserDottedLine" style="width:100%"></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="UserSectionHead">
						<label>Effect Speed</label>
					</div>
					<div class="UserSectionBody">
						<div class="UserControlGroup">
							<asp:DropDownList runat="server" ID="DropDownEffectSpeed">
								<asp:ListItem Value="fast">fast</asp:ListItem>
								<asp:ListItem Value="normal" Selected="true">normal</asp:ListItem>
								<asp:ListItem Value="slow">slow</asp:ListItem>
							</asp:DropDownList>
						</div>
					</div>
					<div class="UserDottedLine" style="width:100%"></div>
				</td>
			</tr>

			<tr>
				<td>
					<div class="UserSectionHead">
						<label>Effect Timeout</label>
					</div>
					<div class="UserSectionBody">
						<div class="UserControlGroup">
							<asp:TextBox runat="server" ID="TextBoxTimeout"></asp:TextBox>
							<asp:RequiredFieldValidator runat="server" ControlToValidate="TextBoxTimeout" ErrorMessage="*" ForeColor="Red" Display="Dynamic">
							</asp:RequiredFieldValidator>
							<asp:CompareValidator runat="server" ControlToValidate="TextBoxTimeout"
								Type="Integer"
								Operator="DataTypeCheck"
								ErrorMessage="*"
								ForeColor="Red"
								Display="Dynamic">
							</asp:CompareValidator>
						</div>
					</div>
					<div class="UserDottedLine" style="width:100%"></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="UserSectionHead">
						<label>Pause on hover</label>
					</div>
					<div class="UserSectionBody">
						<div class="UserControlGroup">
							<asp:CheckBox runat="server" ID="CheckBoxPauseOnHover" Checked="true" Text="Enable"/>
						</div>
					</div>
					<div class="UserDottedLine" style="width:100%"></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="UserSectionHead">
						<label>Pager</label>
					</div>
					<div class="UserSectionBody">
						<div class="UserControlGroup">
							<asp:DropDownList runat="server" ID="DropDownPagerType">
								<asp:ListItem Value="none">none</asp:ListItem>
								<asp:ListItem Value="bubbles" Selected="true">bubbles</asp:ListItem>
							</asp:DropDownList>
						</div>
					</div>
					<div class="UserDottedLine" style="width:100%"></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="UserSectionHead">
						<label>Show prev/next buttons</label>
					</div>
					<div class="UserSectionBody">
						<div class="UserControlGroup">
							<asp:CheckBox runat="server" ID="CheckBoxShowPrevNextButtons" Checked="false" Text="Enable"/>
						</div>
					</div>
					<div class="UserDottedLine" style="width:100%"></div>
				</td>
			</tr>
		</table>
	</div>
</div>
